package com.violet.annotation.verify;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

// 对手机号进行校验
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface VPhone {
    String value() default "^1[3456789]\\d{9}$";
}
